package com.powernode.constant;

public interface RabbitMQConstant {

    // 延迟发送的交换机
    String EXCHANGE_DELAY = "delay.exchange";
    // 延迟发送队列
    String QUEUE_DELAY = "delay.queue";
    // 延迟发送删除订单的routing-key
    String ROUTING_KEY_CANCEL_ORDER = "order.cancel";

    // 商品交换机
    String EXCHANGE_PRODUCT = "pms.product";
    // 商品保存队列
    String QUEUE_PRODUCT_SAVE = "pms.product.save";
    // 商品删除队列
    String QUEUE_PRODUCT_DEL = "pms.product.del";
    // 商品保存的routing-key
    String ROUTING_KEY_PRODUCT_SAVE = "product.save";
    // 商品删除的routing-key
    String ROUTING_KEY_PRODUCT_DEL = "product.del";
}
